package com.imagination.applet.domain.virtualidentity.service;

import com.imagination.applet.domain.virtualidentity.model.UserVirtualIdentity;

import java.util.List;
import java.util.Map;

public interface UserVirtualIdentityCommandService {

    UserVirtualIdentity createVirtualIdentity(Long userId);

    List<UserVirtualIdentity> queryTrainingSuccessList(Long userId);

    List<UserVirtualIdentity> queryTrainingSuccessListContainDel(Long userId);

    List<UserVirtualIdentity> queryTrainingRunning(Long userId);

    List<UserVirtualIdentity> queryTrainingRunning();

    UserVirtualIdentity getById(Long id);

    void succeed(Long virtualIdentityId, Map<String, Object> extensions);

    void failed(Long virtualIdentityId);

    void remove(Long id);
}
